x86/HVM: also separate kernel/user vTSC statistics
authorJan Beulich <jbeulich@suse.com>
Tue, 10 Feb 2015 12:31:16 +0000 (13:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Feb 2015 12:31:16 +0000 (13:31 +0100)
commitafb2f2ffb72e38268bdd0c26ce7f3df90eea76bb
tree08a92aa787e7ba93e58daed30d99063a3e91fa26
parent70f691130081324a8efb97b23c504d8abc5421db
x86/HVM: also separate kernel/user vTSC statistics

It is unclear why this got done for PV only originally.

While at it, limit this statistics collection to debug or performance
counter enabled builds.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/time.c
xen/include/asm-x86/domain.h